package cn.boot1112.springboot1112.mapper;


import cn.boot1112.springboot1112.entity.User;
import org.apache.ibatis.annotations.Mapper;

//@Mapper
public interface UserMapper {

    /**
     * 抽象方法：通过用户名查找用户
     * @param username
     * @return
     */
    User findByUsername(String username);
}
